\(\int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx\) [55]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [C] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 18, antiderivative size = 53 \[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\frac {2 \text {arccosh}(a x) \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {\operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c} \]

[Out]

2*arccosh(a*x)*arctanh(a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c+polylog(2,-a*x-(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c-po
lylog(2,a*x+(a*x-1)^(1/2)*(a*x+1)^(1/2))/a/c

Rubi [A] (verified)

Time = 0.04 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5903, 4267, 2317, 2438} \[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\frac {2 \text {arccosh}(a x) \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {\operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c} \]

[In]

Int[ArcCosh[a*x]/(c - a^2*c*x^2),x]

[Out]

(2*ArcCosh[a*x]*ArcTanh[E^ArcCosh[a*x]])/(a*c) + PolyLog[2, -E^ArcCosh[a*x]]/(a*c) - PolyLog[2, E^ArcCosh[a*x]
]/(a*c)

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 4267

Int[csc[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[-2*(c + d*x)^m*(Ar
cTanh[E^((-I)*e + f*fz*x)]/(f*fz*I)), x] + (-Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 - E^((-I)*e + f*
fz*x)], x], x] + Dist[d*(m/(f*fz*I)), Int[(c + d*x)^(m - 1)*Log[1 + E^((-I)*e + f*fz*x)], x], x]) /; FreeQ[{c,
 d, e, f, fz}, x] && IGtQ[m, 0]

Rule 5903

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)/((d_) + (e_.)*(x_)^2), x_Symbol] :> Dist[-(c*d)^(-1), Subst[Int[
(a + b*x)^n*Csch[x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && IGtQ[n, 0]

Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}(\int x \text {csch}(x) \, dx,x,\text {arccosh}(a x))}{a c} \\ & = \frac {2 \text {arccosh}(a x) \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\text {Subst}\left (\int \log \left (1-e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c}-\frac {\text {Subst}\left (\int \log \left (1+e^x\right ) \, dx,x,\text {arccosh}(a x)\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x) \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{\text {arccosh}(a x)}\right )}{a c}-\frac {\text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{\text {arccosh}(a x)}\right )}{a c} \\ & = \frac {2 \text {arccosh}(a x) \text {arctanh}\left (e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {\operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.45 \[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=-\frac {\text {arccosh}(a x) \log \left (1-e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\text {arccosh}(a x) \log \left (1+e^{\text {arccosh}(a x)}\right )}{a c}+\frac {\operatorname {PolyLog}\left (2,-e^{\text {arccosh}(a x)}\right )}{a c}-\frac {\operatorname {PolyLog}\left (2,e^{\text {arccosh}(a x)}\right )}{a c} \]

[In]

Integrate[ArcCosh[a*x]/(c - a^2*c*x^2),x]

[Out]

-((ArcCosh[a*x]*Log[1 - E^ArcCosh[a*x]])/(a*c)) + (ArcCosh[a*x]*Log[1 + E^ArcCosh[a*x]])/(a*c) + PolyLog[2, -E
^ArcCosh[a*x]]/(a*c) - PolyLog[2, E^ArcCosh[a*x]]/(a*c)

Maple [C] (verified)

Result contains complex when optimal does not.

Time = 1.96 (sec) , antiderivative size = 169, normalized size of antiderivative = 3.19

method result size
derivativedivides \(\frac {\frac {\operatorname {arctanh}\left (a x \right ) \operatorname {arccosh}\left (a x \right )}{c}+\frac {2 i \left (\operatorname {arctanh}\left (a x \right ) \ln \left (1+\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )-\operatorname {arctanh}\left (a x \right ) \ln \left (1-\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )+\operatorname {dilog}\left (1+\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )-\operatorname {dilog}\left (1-\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )\right ) \sqrt {-a^{2} x^{2}+1}\, \sqrt {\frac {a x}{2}+\frac {1}{2}}\, \sqrt {\frac {a x}{2}-\frac {1}{2}}}{c \left (a^{2} x^{2}-1\right )}}{a}\) \(169\)
default \(\frac {\frac {\operatorname {arctanh}\left (a x \right ) \operatorname {arccosh}\left (a x \right )}{c}+\frac {2 i \left (\operatorname {arctanh}\left (a x \right ) \ln \left (1+\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )-\operatorname {arctanh}\left (a x \right ) \ln \left (1-\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )+\operatorname {dilog}\left (1+\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )-\operatorname {dilog}\left (1-\frac {i \left (a x +1\right )}{\sqrt {-a^{2} x^{2}+1}}\right )\right ) \sqrt {-a^{2} x^{2}+1}\, \sqrt {\frac {a x}{2}+\frac {1}{2}}\, \sqrt {\frac {a x}{2}-\frac {1}{2}}}{c \left (a^{2} x^{2}-1\right )}}{a}\) \(169\)

[In]

int(arccosh(a*x)/(-a^2*c*x^2+c),x,method=_RETURNVERBOSE)

[Out]

1/a*(1/c*arctanh(a*x)*arccosh(a*x)+2*I/c*(arctanh(a*x)*ln(1+I*(a*x+1)/(-a^2*x^2+1)^(1/2))-arctanh(a*x)*ln(1-I*
(a*x+1)/(-a^2*x^2+1)^(1/2))+dilog(1+I*(a*x+1)/(-a^2*x^2+1)^(1/2))-dilog(1-I*(a*x+1)/(-a^2*x^2+1)^(1/2)))*(-a^2
*x^2+1)^(1/2)*(1/2*a*x+1/2)^(1/2)*(1/2*a*x-1/2)^(1/2)/(a^2*x^2-1))

Fricas [F]

\[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)/(-a^2*c*x^2+c),x, algorithm="fricas")

[Out]

integral(-arccosh(a*x)/(a^2*c*x^2 - c), x)

Sympy [F]

\[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=- \frac {\int \frac {\operatorname {acosh}{\left (a x \right )}}{a^{2} x^{2} - 1}\, dx}{c} \]

[In]

integrate(acosh(a*x)/(-a**2*c*x**2+c),x)

[Out]

-Integral(acosh(a*x)/(a**2*x**2 - 1), x)/c

Maxima [F]

\[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)/(-a^2*c*x^2+c),x, algorithm="maxima")

[Out]

1/8*(4*(log(a*x + 1) - log(a*x - 1))*log(a*x + sqrt(a*x + 1)*sqrt(a*x - 1)) - log(a*x + 1)^2 - 2*log(a*x + 1)*
log(a*x - 1) + log(a*x - 1)^2)/(a*c) + 1/2*(log(a*x - 1)*log(1/2*a*x + 1/2) + dilog(-1/2*a*x + 1/2))/(a*c) + i
ntegrate(1/2*(log(a*x + 1) - log(a*x - 1))/(a^3*c*x^3 - a*c*x + (a^2*c*x^2 - c)*sqrt(a*x + 1)*sqrt(a*x - 1)),
x)

Giac [F]

\[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\int { -\frac {\operatorname {arcosh}\left (a x\right )}{a^{2} c x^{2} - c} \,d x } \]

[In]

integrate(arccosh(a*x)/(-a^2*c*x^2+c),x, algorithm="giac")

[Out]

integrate(-arccosh(a*x)/(a^2*c*x^2 - c), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {\text {arccosh}(a x)}{c-a^2 c x^2} \, dx=\int \frac {\mathrm {acosh}\left (a\,x\right )}{c-a^2\,c\,x^2} \,d x \]

[In]

int(acosh(a*x)/(c - a^2*c*x^2),x)

[Out]

int(acosh(a*x)/(c - a^2*c*x^2), x)